package com.fuyin.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class Resource implements Serializable {

    private static final long serialVersionUID = -1081140822905874902L;

    @ApiModelProperty(value = "资源id")
    private Long id;

    @ApiModelProperty(value = "资源分类id")
    private Long categoryId;

    @ApiModelProperty(value = "资源名称")
    private String name;

    @ApiModelProperty(value = "资源URL")
    private String url;

    @ApiModelProperty(value = "资源描述")
    private String description;

    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    private Date gmtModified;


}